//
//  ChooseItemsInCurveViewController.h
//  GetPowerDBO
//
//  Created by 周博 on 2017/7/10.
//  Copyright © 2017年 BogoZhou. All rights reserved.
//

#import "BaseViewController.h"

@protocol ChooseItemsInCurveViewControllerDelegate <NSObject>

/**
 单个店铺按日期统计
 
 @param growth_fans_num 涨粉数目
 @param total_charging_num 总设备
 @param used_charging_num 使用设备
 @param average_per_day_add 日均涨粉
 @param charging_rate 设备使用率：前端计算： 使用/总
 */
- (void)showSingleShopInfoWithGrowth_fans_num:(NSNumber *)growth_fans_num
                           total_charging_num:(NSNumber *)total_charging_num
                            used_charging_num:(NSNumber *)used_charging_num
                          average_per_day_add:(NSNumber *)average_per_day_add
                                charging_rate:(NSNumber *)charging_rate
                                dabiao:(NSNumber *)dabiao;



/**
 个人历史按日期统计
 
 @param charging_average_per_day_add 单台日均涨粉 前端计算
 @param store_average_per_day_add 单店日均涨粉 前端计算
 @param store_num 已铺门店
 @param charging_num 已铺设备
 @param sub_count 当日新增
 @param use_charging_num 使用设备
 @param ok_store_num 达标门店
 @param charging_rate 设备使用率：前端计算：使用/总
 */
- (void)showHistoryPersonInfoWithCharging_average_per_day_add:(NSNumber *)charging_average_per_day_add
                                    store_average_per_day_add:(NSNumber *)store_average_per_day_add
                                                    store_num:(NSNumber *)store_num
                                                 charging_num:(NSNumber *)charging_num
                                                    sub_count:(NSNumber *)sub_count
                                             use_charging_num:(NSNumber *)use_charging_num
                                                 ok_store_num:(NSNumber *)ok_store_num
                                                charging_rate:(NSNumber *)charging_rate
                                                     wifi_num:(NSNumber *)wifi_num
                                               wifi_sub_count:(NSNumber *)wifi_sub_count
                                                wifi_used_num:(NSNumber *)wifi_used_num
                                                     mima_num:(NSNumber *)mima_num
                                               mima_sub_count:(NSNumber *)mima_sub_count
                                                mima_used_num:(NSNumber *)mima_used_num;

/**
 v2 个人提成历史记录
 
 @param history_ok_num 当日历史已铺店铺达标数
 @param history_store_num 当日历史已铺店铺
 @param history_money 当日历史已铺店铺达标提成
 @param today_ok_num 当日已铺店铺达标
 @param today_store_num 当日已铺店铺
 @param today_money 当日已铺店铺达标提成
 @param merge_money 当日提成 （默认显示这个）
 */
- (void)showCommistionHistoryInfoWithHistory_ok_num:(NSNumber *)history_ok_num
                                  history_store_num:(NSNumber *)history_store_num
                                      history_money:(NSNumber *)history_money
                                       today_ok_num:(NSNumber *)today_ok_num
                                    today_store_num:(NSNumber *)today_store_num
                                        today_money:(NSNumber *)today_money
                                        merge_money:(NSNumber *)merge_money;

@end

@interface ChooseItemsInCurveViewController : BaseViewController

#pragma mark - 单个店铺按日期统计

//type = 1 -》 单店  ; 2-> 历史 ; 3-> 历史提成
@property (nonatomic,strong) NSString *type;

//传入控件frame
@property (nonatomic,assign) CGRect viewFrame;

/**
 单个店铺按日期统计

 @param growth_fans_num 涨粉数目
 @param total_charging_num 总设备
 @param used_charging_num 使用设备
 @param average_per_day_add 日均涨粉
 @param charging_rate 设备使用率：前端计算： 使用/总
 */
- (void)getSingleShopInfoByGrowth_fans_num:(BOOL)growth_fans_num
                  total_charging_num:(BOOL)total_charging_num
                   used_charging_num:(BOOL)used_charging_num
                 average_per_day_add:(BOOL)average_per_day_add
                       charging_rate:(BOOL)charging_rate
                    dabiao:(BOOL)dabiao;


@property (nonatomic,assign) BOOL growth_fans_num;
@property (nonatomic,assign) BOOL total_charging_num;
@property (nonatomic,assign) BOOL used_charging_num;
@property (nonatomic,assign) BOOL average_per_day_add;
@property (nonatomic,assign) BOOL charging_rate;
@property (nonatomic,assign) BOOL dabiao;


#pragma mark - 个人历史按日期统计


/**
 个人历史按日期统计

 @param charging_average_per_day_add 单台日均涨粉 前端计算
 @param store_average_per_day_add 单店日均涨粉 前端计算
 @param store_num 已铺门店
 @param charging_num 已铺设备
 @param sub_count 当日新增
 @param use_charging_num 使用设备
 @param ok_store_num 达标门店
 @param charging_rate 设备使用率：前端计算：使用/总
 */
- (void)getHistoryPersonInfoByCharging_average_per_day_add:(BOOL)charging_average_per_day_add
                                 store_average_per_day_add:(BOOL)store_average_per_day_add
                                                 store_num:(BOOL)store_num
                                              charging_num:(BOOL)charging_num
                                                 sub_count:(BOOL)sub_count
                                          use_charging_num:(BOOL)use_charging_num
                                              ok_store_num:(BOOL)ok_store_num
                                             charging_rate:(BOOL)charging_rate
                                                  wifi_num:(BOOL)wifi_num
                                            wifi_sub_count:(BOOL)wifi_sub_count
                                             wifi_used_num:(BOOL)wifi_used_num
                                                  mima_num:(BOOL)mima_num
                                            mima_sub_count:(BOOL)mima_sub_count
                                             mima_used_num:(BOOL)mima_used_num;

@property (nonatomic,assign) BOOL charging_average_per_day_add;
@property (nonatomic,assign) BOOL store_average_per_day_add;
@property (nonatomic,assign) BOOL store_num;
@property (nonatomic,assign) BOOL charging_num;
@property (nonatomic,assign) BOOL sub_count;
@property (nonatomic,assign) BOOL use_charging_num;
@property (nonatomic,assign) BOOL ok_store_num;

@property (nonatomic,assign) BOOL wifi_num;
@property (nonatomic,assign) BOOL wifi_sub_count;
@property (nonatomic,assign) BOOL wifi_used_num;
@property (nonatomic,assign) BOOL mima_num;
@property (nonatomic,assign) BOOL mima_sub_count;
@property (nonatomic,assign) BOOL mima_used_num;
//@property (nonatomic,assign) BOOL charging_rate;//上面存在了




/**
 v2 个人提成历史记录

 @param history_ok_num 当日历史已铺店铺达标数
 @param history_store_num 当日历史已铺店铺
 @param history_money 当日历史已铺店铺达标提成
 @param today_ok_num 当日已铺店铺达标
 @param today_store_num 当日已铺店铺
 @param today_money 当日已铺店铺达标提成
 @param merge_money 当日提成 （默认显示这个）
 */
- (void)getCommistionHistoryByHistory_ok_num:(BOOL)history_ok_num
                           history_store_num:(BOOL)history_store_num
                               history_money:(BOOL)history_money
                                today_ok_num:(BOOL)today_ok_num
                             today_store_num:(BOOL)today_store_num
                                 today_money:(BOOL)today_money
                                 merge_money:(BOOL)merge_money;

@property (nonatomic,assign) BOOL history_ok_num;
@property (nonatomic,assign) BOOL history_store_num;
@property (nonatomic,assign) BOOL history_money;
@property (nonatomic,assign) BOOL today_ok_num;
@property (nonatomic,assign) BOOL today_store_num;
@property (nonatomic,assign) BOOL today_money;
@property (nonatomic,assign) BOOL merge_money;



@property (nonatomic,strong) id<ChooseItemsInCurveViewControllerDelegate> delegate;

@end
